package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_enjoy")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EnjoyModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer personId;//人员ID,person表
    private Integer year;
    private String separation;//分居费
    private String noEmploy;//随军未就业
    private String educationFee;//保教费
    private String provide;//赡养费
    private String supportAllowance;//赡养补助
    private String comfort;//慰问
    private String notArmy;//未随军

    private Timestamp createTime;
    private Timestamp updateTime;

    @TableField(exist = false)
    private List<EnjoyFeeModel> separationList;//分居费
    @TableField(exist = false)
    private List<EnjoyFeeModel2> noEmployList;//随军未就业
    @TableField(exist = false)
    private List<EnjoyFeeModel3> educationFeeList;//保教费
    @TableField(exist = false)
    private List<EnjoyFeeModel1> provideList;//赡养费
    @TableField(exist = false)
    private List<EnjoyFeeModel4> supportAllowanceList;//赡养费补助
    @TableField(exist = false)
    private List<EnjoyFeeModel5> comfortList;//慰问
    @TableField(exist = false)
    private List<EnjoyFeeModel6> notArmyList;//未随军
    @TableField(exist = false)
    private Integer serialNumber;//序号
    @TableField(exist = false)
    private String name;//军人姓名
    @TableField(exist = false)
    private String genderText;//性别
    @TableField(exist = false)
    private String administrativePosition;//现职级及时间
    @TableField(exist = false)
    private String idCard;//公民身份证号
    @TableField(exist = false)
    private String idCard1;//公民身份证号
    @TableField(exist = false)
    private String address;//常驻地
    @TableField(exist = false)
    private String positionDesc;//部职别
    @TableField(exist = false)
    private String actualJob;//工作岗位

    /**
     * 编号
     */
    @TableField(exist = false)
    private Integer number;
    /**
     * 部门职位
     */
    @TableField(exist = false)
    private String departmentPosition;
    /**
     * 父母姓名
     */
    @TableField(exist = false)
    private String parentsName;
    /**
     * 性别
     */
    @TableField(exist = false)
    private String gender;
    /**
     * 国家
     */
    @TableField(exist = false)
    private String nation;
    /**
     * 工作单位
     */
    @TableField(exist = false)
    private String workUnit;
    /**
     * 户籍
     */
    @TableField(exist = false)
    private String registeredResidence;
    /**
     * 当前地址
     */
    @TableField(exist = false)
    private String currentAddress;
    /**
     * 应用程序开始时间
     */
    @TableField(exist = false)
    private String startingTimeOfApplication;
    /**
     * 停止发送时间
     */
    @TableField(exist = false)
    private String stopSendingTime;
    /**
     * 联系人电话号码
     */
    @TableField(exist = false)
    private String contactPhoneNumber;
    /**
     * 备注
     */
    @TableField(exist = false)
    private String remarks;

    /**
     * 慰问和救济原因
     */
    @TableField(exist = false)
    private String reasonsForCondolenceAndRelief;
    /**
     * 分配金额
     */
    @TableField(exist = false)
    private String distributionAmount;
    /**
     * 分发时间
     */
    @TableField(exist = false)
    private String distributionTime;

    /**
     * 公民身份证1
     */
    @TableField(exist = false)
    private String citizenIdCard1;
    /**
     * 配偶姓名
     */
    @TableField(exist = false)
    private String spouseName;
    /**
     * 公民id号码2
     */
    @TableField(exist = false)
    private String citizenIdNumber2;
    /**
     * 公民身份证号码3
     */
    @TableField(exist = false)
    private String citizenIdNumber3;
    /**
     * 结婚日期
     */
    @TableField(exist = false)
    private String marriageDate;
    /**
     * 失业时间
     */
    @TableField(exist = false)
    private String unemploymentTime;
    /**
     * 接触时间
     */
    @TableField(exist = false)
    private String contactTime;
}

